/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.institution.bean;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class ConformanceAssessment extends BaseEntity {
    @ApiModelProperty(value = "水司code", name = "corpCode")
    private String corpCode;

    @ApiModelProperty(value = "合规评价年份", name = "conformanceYear")
    private Integer conformanceYear;

    @ApiModelProperty(value = "法规id", name = "institutionId")
    private String institutionId;

    @ApiModelProperty(value = "code", name = "institutionCode")
    private String institutionCode;

    @ApiModelProperty(value = "文件编号", name = "institutionFileCode")
    private String institutionFileCode;

    @ApiModelProperty(value = "文件名称", name = "institutionFileName")
    private String institutionFileName;

    @ApiModelProperty(value = "发版日期", name = "publicationDate")
    private Date publicationDate;

    @ApiModelProperty(value = "实施日期", name = "executionDate")
    private Date executionDate;

    @ApiModelProperty(value = "适用条款", name = "applicableProvisions")
    private String applicableProvisions;

    @ApiModelProperty(value = "备注", name = "remark")
    private String remark;

    @ApiModelProperty(value = "版本号", name = "version")
    private String version;

    @ApiModelProperty(value = "文件path", name = "attachment")
    private String attachment;

    @ApiModelProperty(value = "适用部门", name = "suitDept")
    private String suitDept;

    @ApiModelProperty(value = "是否符合0否,1是", name = "conformanceFlag")
    private Integer conformanceFlag;

    @ApiModelProperty(value = "状态:0.正常，1.新增审核中,2修改审核中,3废除审核中,4废弃,5草稿", name = "state", required = true)
    private Integer state;

    private Law law;

    public Law getLaw() {
        return law;
    }

    public void setLaw(Law law) {
        this.law = law;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode == null ? null : corpCode.trim();
    }

    public Integer getConformanceYear() {
        return conformanceYear;
    }

    public void setConformanceYear(Integer conformanceYear) {
        this.conformanceYear = conformanceYear;
    }

    public String getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(String institutionId) {
        this.institutionId = institutionId == null ? null : institutionId.trim();
    }

    public String getInstitutionCode() {
        return institutionCode;
    }

    public void setInstitutionCode(String institutionCode) {
        this.institutionCode = institutionCode == null ? null : institutionCode.trim();
    }

    public String getInstitutionFileCode() {
        return institutionFileCode;
    }

    public void setInstitutionFileCode(String institutionFileCode) {
        this.institutionFileCode = institutionFileCode == null ? null : institutionFileCode.trim();
    }

    public String getInstitutionFileName() {
        return institutionFileName;
    }

    public void setInstitutionFileName(String institutionFileName) {
        this.institutionFileName = institutionFileName == null ? null : institutionFileName.trim();
    }

    public Date getPublicationDate() {
        return publicationDate;
    }

    public void setPublicationDate(Date publicationDate) {
        this.publicationDate = publicationDate;
    }

    public Date getExecutionDate() {
        return executionDate;
    }

    public void setExecutionDate(Date executionDate) {
        this.executionDate = executionDate;
    }

    public String getApplicableProvisions() {
        return applicableProvisions;
    }

    public void setApplicableProvisions(String applicableProvisions) {
        this.applicableProvisions = applicableProvisions == null ? null : applicableProvisions.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment == null ? null : attachment.trim();
    }

    public String getSuitDept() {
        return suitDept;
    }

    public void setSuitDept(String suitDept) {
        this.suitDept = suitDept == null ? null : suitDept.trim();
    }

    public Integer getConformanceFlag() {
        return conformanceFlag;
    }

    public void setConformanceFlag(Integer conformanceFlag) {
        this.conformanceFlag = conformanceFlag;
    }

}